package com.hc.window;

import javax.swing.JPanel;
import javax.swing.JLabel;
import javax.swing.JTable;

import java.awt.SystemColor;
import java.awt.Font;
import java.awt.BorderLayout;
import javax.swing.JScrollPane;

import com.hc.query.PeopleQuery;

public class PeoplePanel extends JPanel {
	
	PeopleQuery query;
	JTable table;
	
	public PeoplePanel() {
		setLayout(new BorderLayout(0, 0));
		
		JScrollPane scrollPane = new JScrollPane();
		add(scrollPane, BorderLayout.CENTER);
		
		table = new JTable();
		query = new PeopleQuery(table);
		scrollPane.setViewportView(table);
	}

}
